#全局通用配置
class Config(object):
    db_url = "mysql+pymysql://root:123456@localhost/mumushouji"

#测试环境
class TestConfig(Config):
    if_echo = True
    LOG_LEVEL = "DEBUG"



class ProductionConfig(Config):
    if_echo = False
    LOG_LEVEL = "INFO"


config = {
    "test": TestConfig,
    "prop": ProductionConfig,
}

